package com.niiwoo.civet.trade.dto.request.creditor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class CreditorSaleApplyRequestDTO implements Serializable {
	
    private static final long serialVersionUID = -5194561428524080308L;
    
    /** 用 户ID */
    private String userId;
    
    /** 是否批量操作 0：否；1：是*/
    private Byte isBatch;
    
    /** 转让总金额 */
    private BigDecimal totalSaleAmount;
    
    /** 债权出让申请信息 */
    private List<CreditorSaleApplyDetailDTO> creditorSaleApplyDetailDTOList;
    
    @Setter
    @Getter
	public static class CreditorSaleApplyDetailDTO implements Serializable {

    	private static final long serialVersionUID = 6675920440048217666L;

		/** 投资订单ID */
		private Long investOrderId;

		/** 转让价格 */
		private BigDecimal saleAmount;

		/** 降价比例 */
		private BigDecimal offPercent;
		
		/** 手续费率 */
		private BigDecimal expenseRate;
	}
}